import os, sys
from PyQt5.QtWidgets import QApplication, QWidget
from PyQt5 import uic


class MyWindow(QWidget):
    def __init__(self):
        super().__init__()
        self.ui = None
        self.ui = uic.loadUi(os.path.join(os.path.dirname(os.path.abspath(__file__)), '../ui/txt_mk.ui'))


if __name__ == '__main__':
    app = QApplication(sys.argv)
    window = MyWindow()
    window.ui.show()
    app.exec()
